package cn.bbs.service;

import cn.bbs.dao.DetailMapper;
import cn.bbs.pojo.Detail;
import com.alibaba.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DetailServiceImpl implements DetailService {

    @Resource
    private DetailMapper detailMapper;
    @Override
    public List<Detail> selectAllDetail() {
        return detailMapper.selectAllDetail();
    }
}
